package ai.peanut.selfbase.modules.sys.service;

import ai.peanut.selfbase.modules.sys.entity.UserRole;
import com.baomidou.mybatisplus.service.IService;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户-角色 服务类
 * </p>
 *
 * @author lichong
 * @since 2019-02-19
 */
public interface IUserRoleService extends IService<UserRole> {
    /**
     * 根据用户id删除
     * @param userId
     * @return
     */
    int deleteByUserId(Long userId);
}
